package br.unicamp.ic.inf300.arena.facade;

import java.util.Collection;
import java.util.Date;

import br.unicamp.ic.inf300.arena.modelo.logistico.Evento;

public interface IEventoFacade {
	/**
	 * 
	 * @param codigo
	 * 
	 * @return Evento
	 * 
	 * @throws Exception
	 */
	Evento obter(long codigo) throws Exception;	

	/**
	 * 
	 * @param dataInicio
	 * 
	 * @param dataTermino
	 * 
	 * @param buscarSemVaga
	 * 
	 * @return Collection<Evento>
	 * 
	 * @throws Exception
	 */
	Collection<Evento> obterEventosEmCartaz(Date dataInicio,
			Date dataTermino, boolean buscarSemVaga) throws Exception;
	
	int atualizar(long codigo, int qtd) throws Exception;
}